package com.gu.service;

import com.gu.service.impl.VodFileDegradeFeignClient;
import entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-28-15:41
 */
@Service
@FeignClient(value = "service-upload-video",fallback = VodFileDegradeFeignClient.class)
public interface VodClients {

    @DeleteMapping("/deleteVideo/{videoId}")
     CommonResult deleteVideoByVideoId(@PathVariable("videoId")String videoId);
}
